FROM guosheng1987/php:7.4.22-fpm-buster

MAINTAINER guosheng1987 <guosheng1987@126.com>

# mongodb extension
RUN pecl channel-update pecl.php.net \
	&& pecl install mongodb \
	&& echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/docker-php-ext-mongodb.ini \
	&& php -m \
	&& echo -e "Mongodb Build Completed"


